﻿define(['durandal/system', 'knockout','jquery'], function (system, ko,$) {





    return {
     
        activate: function() {
            system.log('Lifecycle : activate : noroute');
        },
        binding: function () {
            system.log('Lifecycle : binding : noroute');
            return { cacheViews:false }; //cancels view caching for this module, allowing the triggering of the detached callback
        },
        bindingComplete: function () {
            system.log('Lifecycle : bindingComplete : noroute');
        },
        attached: function (view, parent) {
            system.log('Lifecycle : attached : noroute');
        },
        compositionComplete: function (view) {
            system.log('Lifecycle : compositionComplete : no route');
        },
        detached: function (view) {
            system.log('Lifecycle : detached : no route');
        }
    };
   
});

//requirejs('hello/index').event.channel()